//
//  CBaseController.h
//  GoldOperationClient
//
//  Created by yaxue wang on 16/8/1.
//  Copyright © 2016年 展鸿科技. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CTabBar.h"
@interface CBaseController : UIViewController<CTabBarItemSelectedDelegate>
// 传递数据
@property (nonatomic, strong) id passData;
#pragma mark 设置是否有值
@property (nonatomic) BOOL hasData;
@property (nonatomic) BOOL isLoading;
@property (nonatomic) BOOL hideNavBar;
@property (nonatomic) BOOL hideToolBar;

#pragma mark 初始化以及数据加载
- (void) initData;
- (void) initView;
- (void) loadData;
- (void) reloadData;
- (void) reloadView;
- (void) pushController:(CBaseController *)controller;
- (void) pushController:(CBaseController *)controller Lever:(NSInteger) lever Animated:(BOOL)animate;
- (void) backController;
- (void)CTabBar:(CTabBar *)tabbar selectedIndex:(NSInteger)index;
@property (nonatomic, strong) CTabBar *mainTabBar;

@end
